X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/72feb2ea9108d2c6111a7ab7daa9f053a0b95605..25d817aaf266fdf5300ca0b662426caaed4e924e:/include/user_stat.h diff --git a/include/user_stat.h b/include/user_stat.h index fd0e79a0..42d436fd 100644 --- a/include/user_stat.h +++ b/include/user_stat.h @@ -162,7 +162,7 @@ struct USER_STAT_RES down = us.down; return * this; }; - operator USER_STAT() + operator USER_STAT() const { USER_STAT us; us.cash = cash; @@ -187,6 +187,3 @@ struct USER_STAT_RES }; //----------------------------------------------------------------------------- #endif - - -