git » fp-git.git » commit b99cef4

bugfix: uninitialized variable

author ecalot
2005-02-25 12:03:33 UTC
committer ecalot
2005-02-25 12:03:33 UTC
parent 35c1de545057cfde59398af4e04f30b465fbdb7b

bugfix: uninitialized variable

FP/src/res/maps.c +1 -1

diff --git a/FP/src/res/maps.c b/FP/src/res/maps.c
index 0fb1740..e9911ea 100644
--- a/FP/src/res/maps.c
+++ b/FP/src/res/maps.c
@@ -342,7 +342,7 @@ void  mapStart(tMap* map, tObject* kid, tRoomId *roomId, int level) {
 
 /* TODO: This is part of the kernel, it needs to be moved */
 int   mapMove(tMap* map) {
-	int i,refresh;
+	int i,refresh=0;
 	slevel(time)++;
 	if (slevel(time)==1000) slevel(time)=0;