mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-19 16:39:24 +01:00
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>
This commit is contained in:
@@ -1303,10 +1303,10 @@ void idTrigger_Flag::Event_Touch( idEntity *other, trace_t *trace ) {
|
||||
flag->PostEventMS( eventFlag, 0 );
|
||||
break;
|
||||
case 1 :
|
||||
flag->PostEventMS( eventFlag, 0, NULL );
|
||||
flag->PostEventMS( eventFlag, 0, 0 );
|
||||
break;
|
||||
case 2 :
|
||||
flag->PostEventMS( eventFlag, 0, NULL, NULL );
|
||||
flag->PostEventMS( eventFlag, 0, 0, 0 );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user