aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/graph.cpp')
-rw-r--r--engines/avalanche/graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/graph.cpp b/engines/avalanche/graph.cpp
index 30dd20aa2f..73ea430c4e 100644
--- a/engines/avalanche/graph.cpp
+++ b/engines/avalanche/graph.cpp
@@ -77,7 +77,7 @@ byte *Graph::getPixel(int16 x, int16 y) {
}
void Graph::setPixel(byte *pixel, byte color) {
- memset(pixel, color, 1);
+ *pixel = color;
}
void Graph::drawToScreen() {