- Am I the only one who thinks that static_casts can create really clunky code? (Thanks, GCC, for your overly paranoid warning settings that necessitate such ugliness. :( )
SVN r2844 (trunk)
This commit is contained in:
parent
15d74dab56
commit
16fa8cc249
7 changed files with 18 additions and 15 deletions
|
|
@ -256,7 +256,7 @@ bool P_ActivateLine (line_t *line, AActor *mo, int side, int activationType)
|
|||
// end of changed code
|
||||
if (developer && buttonSuccess)
|
||||
{
|
||||
Printf ("Line special %d activated on line %i\n", special, static_cast<int> (line - lines));
|
||||
Printf ("Line special %d activated on line %i\n", special, int(line - lines));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue