| 1942 | } |
| 1943 | |
| 1944 | void zNPCCommon::PlayerKiltMe() |
| 1945 | { |
| 1946 | en_xEventTags r30 = eEventUnknown; |
| 1947 | S32 r31 = this->SelfType(); |
| 1948 | |
| 1949 | if (!SomethingWonderful() && g_tmr_talkless < 0.0f) |
| 1950 | { |
| 1951 | g_tmr_talkless = 3.0f + (xurand() - 0.5f) * 0.25f * 3.0f; |
| 1952 | |
| 1953 | if ((r31 & 0xFFFFFF00) == 'NTR\0') |
| 1954 | { |
| 1955 | r30 = eEventSituationDestroyedRobot; |
| 1956 | } |
| 1957 | else if ((r31 & 0xFFFFFF00) == 'NTT\0') |
| 1958 | { |
| 1959 | r30 = eEventSituationDestroyedTiki; |
| 1960 | } |
| 1961 | |
| 1962 | if (r30 != eEventUnknown) |
| 1963 | { |
| 1964 | zEntEvent(this, &globals.player.ent, r30); |
| 1965 | } |
| 1966 | } |
| 1967 | } |
| 1968 | |
| 1969 | void zNPCCommon::ISeePlayer() |
| 1970 | { |
no test coverage detected