summaryrefslogtreecommitdiff
path: root/games/scourge/files/patch-src_rpg_character.h
blob: 015f908465584b17d902ff4aa1011eb42872f47e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/rpg/character.h.orig	2008-12-22 23:38:10 UTC
+++ src/rpg/character.h
@@ -63,7 +63,7 @@ public:
 	static int getRootCount() {
 		if ( instance == NULL ) { 
 			std::cerr << "*** Characters::getRootCount() Characters uninitialized" << std::endl;
-			return NULL;
+			return 0;
 		}
 		return instance->rootCharacters.size();
 	}