@@ -275,7 +275,7 @@ stock Player_IsRegistered(playerid)
275
275
276
276
HOOK__ OnYSIInit ()
277
277
{
278
- switch (ftouch (USER_FILE_PATH " index.YSI" ))
278
+ switch (YSI_ftouch__ (USER_FILE_PATH " index.YSI" ))
279
279
{
280
280
case -1 :
281
281
{
@@ -286,14 +286,14 @@ HOOK__ OnYSIInit()
286
286
if (Player_CreateNewID ())
287
287
{
288
288
// Don't need upgrades.
289
- if (ftouch (USER_FILE_PATH " y_users_v2_1.YSI" ) == - 1 )
289
+ if (YSI_ftouch__ (USER_FILE_PATH " y_users_v2_1.YSI" ) == - 1 )
290
290
{
291
291
Debug_Error (" Could not touch upgrade file 1." );
292
292
// Use "else" so we don't try do upgrade 2 without upgrade
293
293
// 1. That would really mess up the files (that don't yet
294
294
// exist, but could do).
295
295
}
296
- else if (ftouch (USER_FILE_PATH " y_users_v2_2.YSI" ) == - 1 )
296
+ else if (YSI_ftouch__ (USER_FILE_PATH " y_users_v2_2.YSI" ) == - 1 )
297
297
{
298
298
Debug_Error (" Could not touch upgrade file 2." );
299
299
}
@@ -1255,7 +1255,7 @@ static stock Player_CreateNewID()
1255
1255
static stock Users_DoUpgrade0 ()
1256
1256
{
1257
1257
// Only ever do this upgrade once.
1258
- switch (ftouch (USER_FILE_PATH " y_users_v2_1.YSI" ))
1258
+ switch (YSI_ftouch__ (USER_FILE_PATH " y_users_v2_1.YSI" ))
1259
1259
{
1260
1260
case -1 :
1261
1261
{
@@ -1371,7 +1371,7 @@ static stock Users_DoUpgrade0()
1371
1371
static stock Users_DoUpgrade1 ()
1372
1372
{
1373
1373
// Only ever do this upgrade once.
1374
- switch (ftouch (USER_FILE_PATH " y_users_v2_2.YSI" ))
1374
+ switch (YSI_ftouch__ (USER_FILE_PATH " y_users_v2_2.YSI" ))
1375
1375
{
1376
1376
// case 0: Already exists.
1377
1377
case -1 :
0 commit comments