@@ -275,7 +275,7 @@ stock Player_IsRegistered(playerid)
275275
276276HOOK__ OnYSIInit ()
277277{
278- switch (ftouch (USER_FILE_PATH " index.YSI" ))
278+ switch (YSI_ftouch__ (USER_FILE_PATH " index.YSI" ))
279279 {
280280 case -1 :
281281 {
@@ -286,14 +286,14 @@ HOOK__ OnYSIInit()
286286 if (Player_CreateNewID ())
287287 {
288288 // 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 )
290290 {
291291 Debug_Error (" Could not touch upgrade file 1." );
292292 // Use "else" so we don't try do upgrade 2 without upgrade
293293 // 1. That would really mess up the files (that don't yet
294294 // exist, but could do).
295295 }
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 )
297297 {
298298 Debug_Error (" Could not touch upgrade file 2." );
299299 }
@@ -1255,7 +1255,7 @@ static stock Player_CreateNewID()
12551255static stock Users_DoUpgrade0 ()
12561256{
12571257 // 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" ))
12591259 {
12601260 case -1 :
12611261 {
@@ -1371,7 +1371,7 @@ static stock Users_DoUpgrade0()
13711371static stock Users_DoUpgrade1 ()
13721372{
13731373 // 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" ))
13751375 {
13761376 // case 0: Already exists.
13771377 case -1 :
0 commit comments