Commit Graph

16 Commits

Author SHA1 Message Date
XoD
0b48f6f24a Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should
avoid warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
b8aaa60311 Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should
avoid warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
3946e7bdd4 Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should
avoid warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
7bf3774664 Fix A PostEventMsg call with a parameter NULL.
idEventArg don't have constructor with a pointer, a int should avoid
warning.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
XoD
6ce9c717c3 Fix NULL affeted to a not pointer variable
Replaced by a 0.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-28 18:56:42 +01:00
Timothee "TTimo" Besset
232432d352 Merge pull request #30 from xoddark/Werror_pointer-arith
Fix pointer-arith warning
2011-12-26 06:15:39 -08:00
XoD
72fd4c6fc2 Remove comparison from a int to NULL
In Event_HasAnim the result of GetAnim is compared to a pointer, GetAnim
return a int.

Fix a Warning: pointer-arith

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 23:56:55 +01:00
XoD
61c9f6211b Replace NULL by '\0' in some char comparison
fix some Warning: pointer-arith in Player.cpp

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 23:56:55 +01:00
XoD
f061e0f29d Fix some constant string type in Script_Compiler
Signed-off-by: XoD <xoddark@gmail.com>
2011-12-21 20:55:35 +01:00
XoD
dfa3aca9fe Fix char* local var
Set constante some char* local variable.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:41:03 +01:00
XoD
ea5445e22d Fix static string array type.
Set the static array flagDefs constant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:03:37 +01:00
XoD
1ec811c3cf Fix constant string parameter.
The methode LoadScript of idItemTeam is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 22:01:41 +01:00
XoD
11eddc9a97 Fix static string array type.
Set the static array fastEntityList constant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:44:24 +01:00
XoD
ee1ad737ce Fix constant string parameter.
The methode Warning of ScriptInterpreter is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:40:17 +01:00
XoD
a81ddd228d Fix constant string parameter.
The methode Error of ScriptInterpreter is now const compliant.

Signed-off-by: XoD <xoddark@gmail.com>
2011-12-19 09:36:44 +01:00
Timothee 'TTimo' Besset
fb1609f554 hello world 2011-11-22 15:28:15 -06:00