mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-19 16:39:24 +01:00
Fix char* local var
Set constante some char* local variable. Signed-off-by: XoD <xoddark@gmail.com>
This commit is contained in:
@@ -446,7 +446,7 @@ argv(0) god
|
|||||||
==================
|
==================
|
||||||
*/
|
*/
|
||||||
void Cmd_God_f( const idCmdArgs &args ) {
|
void Cmd_God_f( const idCmdArgs &args ) {
|
||||||
char *msg;
|
const char *msg;
|
||||||
idPlayer *player;
|
idPlayer *player;
|
||||||
|
|
||||||
player = gameLocal.GetLocalPlayer();
|
player = gameLocal.GetLocalPlayer();
|
||||||
@@ -475,7 +475,7 @@ argv(0) notarget
|
|||||||
==================
|
==================
|
||||||
*/
|
*/
|
||||||
void Cmd_Notarget_f( const idCmdArgs &args ) {
|
void Cmd_Notarget_f( const idCmdArgs &args ) {
|
||||||
char *msg;
|
const char *msg;
|
||||||
idPlayer *player;
|
idPlayer *player;
|
||||||
|
|
||||||
player = gameLocal.GetLocalPlayer();
|
player = gameLocal.GetLocalPlayer();
|
||||||
@@ -502,7 +502,7 @@ argv(0) noclip
|
|||||||
==================
|
==================
|
||||||
*/
|
*/
|
||||||
void Cmd_Noclip_f( const idCmdArgs &args ) {
|
void Cmd_Noclip_f( const idCmdArgs &args ) {
|
||||||
char *msg;
|
const char *msg;
|
||||||
idPlayer *player;
|
idPlayer *player;
|
||||||
|
|
||||||
player = gameLocal.GetLocalPlayer();
|
player = gameLocal.GetLocalPlayer();
|
||||||
|
|||||||
Reference in New Issue
Block a user